package com.czwx.bee.business.manager.modular.sys.service;
import com.czwx.bee.base.database.common.BaseService;
import com.czwx.bee.business.manager.modular.main.dto.LoginDto;
import com.czwx.bee.business.manager.modular.sys.model.SecurityUser;
import com.czwx.bee.business.manager.modular.sys.model.User;


public interface UserService extends BaseService<User> {

      User getBySelf(User user);

      /**
       * 禁用商户所有账户
       * @param id
       * @return
       */
      Boolean disableDrainage(Long id);


      /**
       * 验证是否可以注册商户账号
       * @return
       */
      Boolean checkShopRegist(User user);

      /**
       * 给用户授权角色
       *
       */

      Boolean authUser(Long id,String ids);

      SecurityUser getAuthUser(String username);

      Boolean resetPwd(String ids);

      Boolean changeStatus(Integer type,String ids);
}
